perm filename TEXEXT.SAI[1,DEK]1 blob sn#307926 filedate 1977-10-04 generic text, type C, neo UTF8
COMMENT āŠ—   VALID 00002 PAGES
C REC  PAGE   DESCRIPTION
C00001 00001
C00002 00002	The (dummy) extension module of TEX.
C00004 ENDMK
CāŠ—;
comment The (dummy) extension module of TEX.

In order to extend TEX without changing other modules, you can supply
procedures for the null procedures declared here. Most of these procedures
are called when TEX's routines come up with a case that is ordinarily
undefined (usually when processing a node of type "whatsit");

require "TEXHDR.SAI" source_file;

internal procedure initext # do this when initializing TEX;
;
internal procedure extop # do this when "\x" sensed in user input;
;
internal procedure dumpext(integer p) # do this in procedure dumpnodelist;
;
internal procedure destroyext(integer p) # do this in procedure destroynodelist;
;
internal procedure eqdestroyext(integer p) # do this in procedure destroy;
;
internal procedure hpackext # do this in procedure packagehlist;
;
internal procedure vpackext # do this is procedure packagevlist;
;
internal procedure pageext # do this in the addtopage routine;
;
internal procedure breakext # do this in the linebreak routine;
;
internal procedure finishext # do this just before terminating TEX;
;